package com.blacksheep.mtm.dao;

import com.blacksheep.mtm.pojo.manager.TbCustomer;
import com.blacksheep.mtm.pojo.manager.TbMedicine;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbCustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TbCustomer record);

    int insertSelective(TbCustomer record);

    TbCustomer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbCustomer record);

    int updateByPrimaryKey(TbCustomer record);

    List<TbCustomer> selectAllList();

    List<TbCustomer> selectList(@Param("search") String search, @Param("minDate") String minDate,
                                @Param("maxDate") String maxDate, @Param("orderCol") String orderCol,
                                @Param("orderDir") String orderDir);
}